package com.voltmao.persistent.model;

import org.mybatis.annotation.Field;
import org.mybatis.annotation.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * contract_provider
 */
@Table(name="contract_provider")
public class ContractProvider implements Serializable {
    /**
     * dataId
     */
    public static final String DATAID = "dataId";

    /**
     * dataId
     */
    @Field(columnName="data_id", jdbcType="VARCHAR", javaType=String.class, length=36, scale=0)
    private String dataId;

    /**
     * isDel
     */
    public static final String ISDEL = "isDel";

    /**
     * isDel
     */
    @Field(columnName="is_del", jdbcType="INTEGER", javaType=Integer.class, length=10, scale=0)
    private Integer isDel;

    /**
     * createDate
     */
    public static final String CREATEDATE = "createDate";

    /**
     * createDate
     */
    @Field(columnName="create_date", jdbcType="TIMESTAMP", javaType=Date.class, length=19, scale=0)
    private Date createDate;

    /**
     * updateDate
     */
    public static final String UPDATEDATE = "updateDate";

    /**
     * updateDate
     */
    @Field(columnName="update_date", jdbcType="TIMESTAMP", javaType=Date.class, length=19, scale=0)
    private Date updateDate;

    /**
     * 合同上传文件(服务器地址)
     */
    public static final String UPLOADFILEURL = "uploadFileUrl";

    /**
     * 合同上传文件(服务器地址)
     */
    @Field(columnName="upload_file_url", jdbcType="VARCHAR", javaType=String.class, length=1000, scale=0)
    private String uploadFileUrl;

    /**
     * 合同号
     */
    public static final String CONTRACTNO = "contractNo";

    /**
     * 合同号
     */
    @Field(columnName="contract_no", jdbcType="VARCHAR", javaType=String.class, length=50, scale=0)
    private String contractNo;

    /**
     * 渠道商信息外键
     */
    public static final String FORPROVIDERUSER = "forProviderUser";

    /**
     * 渠道商信息外键
     */
    @Field(columnName="for_provider_user", jdbcType="VARCHAR", javaType=String.class, length=36, scale=0)
    private String forProviderUser;

    /**
     * 合同乙方名称
     */
    public static final String PARTYB = "partyB";

    /**
     * 合同乙方名称
     */
    @Field(columnName="party_b", jdbcType="VARCHAR", javaType=String.class, length=255, scale=0)
    private String partyB;

    /**
     * 法定代表人
     */
    public static final String REPRESENTATIVENAME = "representativeName";

    /**
     * 法定代表人
     */
    @Field(columnName="representative_name", jdbcType="VARCHAR", javaType=String.class, length=255, scale=0)
    private String representativeName;

    /**
     * 乙方地址
     */
    public static final String PARTYADDRESS = "partyAddress";

    /**
     * 乙方地址
     */
    @Field(columnName="party_address", jdbcType="VARCHAR", javaType=String.class, length=1000, scale=0)
    private String partyAddress;

    /**
     * 乙方分成比例
     */
    public static final String INCOMEDIVISION = "incomeDivision";

    /**
     * 乙方分成比例
     */
    @Field(columnName="income_division", jdbcType="INTEGER", javaType=Integer.class, length=10, scale=0)
    private Integer incomeDivision;

    /**
     * 合同期限开始日期
     */
    public static final String BEGINDATE = "beginDate";

    /**
     * 合同期限开始日期
     */
    @Field(columnName="begin_date", jdbcType="TIMESTAMP", javaType=Date.class, length=19, scale=0)
    private Date beginDate;

    /**
     * 合同期限结束日期
     */
    public static final String ENDDATE = "endDate";

    /**
     * 合同期限结束日期
     */
    @Field(columnName="end_date", jdbcType="TIMESTAMP", javaType=Date.class, length=19, scale=0)
    private Date endDate;

    /**
     * 签订日期
     */
    public static final String SIGNDATE = "signDate";

    /**
     * 签订日期
     */
    @Field(columnName="sign_date", jdbcType="TIMESTAMP", javaType=Date.class, length=19, scale=0)
    private Date signDate;

    /**
     * 字典，合同类型（1：基本电费，2固定比例基本电费；3售电能效）
     */
    public static final String FORDICHTLX = "forDicHtlx";

    /**
     * 字典，合同类型（1：基本电费，2固定比例基本电费；3售电能效）
     */
    @Field(columnName="for_dic_htlx", jdbcType="VARCHAR", javaType=String.class, length=36, scale=0)
    private String forDicHtlx;

    /**
     * 文件下载地址
     */
    public static final String DOWNLOADURL = "downloadUrl";

    /**
     * 文件下载地址
     */
    @Field(columnName="download_url", jdbcType="VARCHAR", javaType=String.class, length=255, scale=0)
    private String downloadUrl;

    private static final long serialVersionUID = 1L;

    /**
     * @return dataId
     *         dataId
     */
    public String getDataId() {
        return dataId;
    }

    /**
     * @param dataId
     *         dataId
     */
    public void setDataId(String dataId) {
        this.dataId = dataId == null ? null : dataId.trim();
    }

    /**
     * @return isDel
     *         isDel
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * @param isDel
     *         isDel
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    /**
     * @return createDate
     *         createDate
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     *         createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return updateDate
     *         updateDate
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     *         updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return uploadFileUrl
     *         合同上传文件(服务器地址)
     */
    public String getUploadFileUrl() {
        return uploadFileUrl;
    }

    /**
     * @param uploadFileUrl
     *         合同上传文件(服务器地址)
     */
    public void setUploadFileUrl(String uploadFileUrl) {
        this.uploadFileUrl = uploadFileUrl == null ? null : uploadFileUrl.trim();
    }

    /**
     * @return contractNo
     *         合同号
     */
    public String getContractNo() {
        return contractNo;
    }

    /**
     * @param contractNo
     *         合同号
     */
    public void setContractNo(String contractNo) {
        this.contractNo = contractNo == null ? null : contractNo.trim();
    }

    /**
     * @return forProviderUser
     *         渠道商信息外键
     */
    public String getForProviderUser() {
        return forProviderUser;
    }

    /**
     * @param forProviderUser
     *         渠道商信息外键
     */
    public void setForProviderUser(String forProviderUser) {
        this.forProviderUser = forProviderUser == null ? null : forProviderUser.trim();
    }

    /**
     * @return partyB
     *         合同乙方名称
     */
    public String getPartyB() {
        return partyB;
    }

    /**
     * @param partyB
     *         合同乙方名称
     */
    public void setPartyB(String partyB) {
        this.partyB = partyB == null ? null : partyB.trim();
    }

    /**
     * @return representativeName
     *         法定代表人
     */
    public String getRepresentativeName() {
        return representativeName;
    }

    /**
     * @param representativeName
     *         法定代表人
     */
    public void setRepresentativeName(String representativeName) {
        this.representativeName = representativeName == null ? null : representativeName.trim();
    }

    /**
     * @return partyAddress
     *         乙方地址
     */
    public String getPartyAddress() {
        return partyAddress;
    }

    /**
     * @param partyAddress
     *         乙方地址
     */
    public void setPartyAddress(String partyAddress) {
        this.partyAddress = partyAddress == null ? null : partyAddress.trim();
    }

    /**
     * @return incomeDivision
     *         乙方分成比例
     */
    public Integer getIncomeDivision() {
        return incomeDivision;
    }

    /**
     * @param incomeDivision
     *         乙方分成比例
     */
    public void setIncomeDivision(Integer incomeDivision) {
        this.incomeDivision = incomeDivision;
    }

    /**
     * @return beginDate
     *         合同期限开始日期
     */
    public Date getBeginDate() {
        return beginDate;
    }

    /**
     * @param beginDate
     *         合同期限开始日期
     */
    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    /**
     * @return endDate
     *         合同期限结束日期
     */
    public Date getEndDate() {
        return endDate;
    }

    /**
     * @param endDate
     *         合同期限结束日期
     */
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    /**
     * @return signDate
     *         签订日期
     */
    public Date getSignDate() {
        return signDate;
    }

    /**
     * @param signDate
     *         签订日期
     */
    public void setSignDate(Date signDate) {
        this.signDate = signDate;
    }

    /**
     * @return forDicHtlx
     *         字典，合同类型（1：基本电费，2固定比例基本电费；3售电能效）
     */
    public String getForDicHtlx() {
        return forDicHtlx;
    }

    /**
     * @param forDicHtlx
     *         字典，合同类型（1：基本电费，2固定比例基本电费；3售电能效）
     */
    public void setForDicHtlx(String forDicHtlx) {
        this.forDicHtlx = forDicHtlx == null ? null : forDicHtlx.trim();
    }

    /**
     * @return downloadUrl
     *         文件下载地址
     */
    public String getDownloadUrl() {
        return downloadUrl;
    }

    /**
     * @param downloadUrl
     *         文件下载地址
     */
    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl == null ? null : downloadUrl.trim();
    }
}